﻿using System.IO;
using System.Security.Policy;
using System.Text;
using System.Web;
using System.Xml;
using CKFinder.Connector;
using CKFinder.Connector.CommandHandlers;

namespace CKFinderImageCroppingPlugin.Plugin
{
	public class ImageCropperCommandHandler : XmlCommandHandlerBase
	{
		protected override void BuildXml()
		{
			var fileName = Request["FileName"];
			var filePath = Path.Combine(CurrentFolder.ServerPath, fileName);

			
			XmlNode imageLink = XmlUtil.AppendElement(ConnectorNode, "Pixlr");
			//XmlUtil.SetAttribute(imageLink, , );
		}
	}
}